import request from '../utils/request.js'

// 获取微信签名
export function getWeChatSignature() {
  return request({
    url: '/api/sm/getWeChatSignature',
    method: 'get',
    params: {
      url: window.encodeURIComponent(window.location.href)
    }
  })
}
